package com.yj.springbootmybatis.config;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

@Component
public class OrderConfig {


    //@Scheduled(cron = "0/3 * * * * ? ")
    public void order(){
        System.out.println(LocalDateTime.now());
    }


}
